{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "import tensorflow as tf\n",
    "from tensorflow import  keras\n",
    "import numpy as np\n",
    "import pandas as pd\n",
    "import matplotlib.pyplot as plt\n",
    "%matplotlib inline"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 49,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "data = pd.read_csv('./iris.csv')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 50,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style>\n",
       "    .dataframe thead tr:only-child th {\n",
       "        text-align: right;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: left;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Unnamed: 0</th>\n",
       "      <th>Sepal.Length</th>\n",
       "      <th>Sepal.Width</th>\n",
       "      <th>Petal.Length</th>\n",
       "      <th>Petal.Width</th>\n",
       "      <th>Species</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1</td>\n",
       "      <td>5.1</td>\n",
       "      <td>3.5</td>\n",
       "      <td>1.4</td>\n",
       "      <td>0.2</td>\n",
       "      <td>setosa</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2</td>\n",
       "      <td>4.9</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.4</td>\n",
       "      <td>0.2</td>\n",
       "      <td>setosa</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>3</td>\n",
       "      <td>4.7</td>\n",
       "      <td>3.2</td>\n",
       "      <td>1.3</td>\n",
       "      <td>0.2</td>\n",
       "      <td>setosa</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>4</td>\n",
       "      <td>4.6</td>\n",
       "      <td>3.1</td>\n",
       "      <td>1.5</td>\n",
       "      <td>0.2</td>\n",
       "      <td>setosa</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>5</td>\n",
       "      <td>5.0</td>\n",
       "      <td>3.6</td>\n",
       "      <td>1.4</td>\n",
       "      <td>0.2</td>\n",
       "      <td>setosa</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   Unnamed: 0  Sepal.Length  Sepal.Width  Petal.Length  Petal.Width Species\n",
       "0           1           5.1          3.5           1.4          0.2  setosa\n",
       "1           2           4.9          3.0           1.4          0.2  setosa\n",
       "2           3           4.7          3.2           1.3          0.2  setosa\n",
       "3           4           4.6          3.1           1.5          0.2  setosa\n",
       "4           5           5.0          3.6           1.4          0.2  setosa"
      ]
     },
     "execution_count": 50,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "data.head()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 51,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "<class 'pandas.core.frame.DataFrame'>\n",
      "RangeIndex: 150 entries, 0 to 149\n",
      "Data columns (total 6 columns):\n",
      "Unnamed: 0      150 non-null int64\n",
      "Sepal.Length    150 non-null float64\n",
      "Sepal.Width     150 non-null float64\n",
      "Petal.Length    150 non-null float64\n",
      "Petal.Width     150 non-null float64\n",
      "Species         150 non-null object\n",
      "dtypes: float64(4), int64(1), object(1)\n",
      "memory usage: 7.1+ KB\n"
     ]
    }
   ],
   "source": [
    "data.info()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 52,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "array(['setosa', 'versicolor', 'virginica'], dtype=object)"
      ]
     },
     "execution_count": 52,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "data.Species.unique()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 53,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "data  = data.join(pd.get_dummies(data.Species))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 54,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "del data['Species']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 55,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style>\n",
       "    .dataframe thead tr:only-child th {\n",
       "        text-align: right;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: left;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Unnamed: 0</th>\n",
       "      <th>Sepal.Length</th>\n",
       "      <th>Sepal.Width</th>\n",
       "      <th>Petal.Length</th>\n",
       "      <th>Petal.Width</th>\n",
       "      <th>setosa</th>\n",
       "      <th>versicolor</th>\n",
       "      <th>virginica</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1</td>\n",
       "      <td>5.1</td>\n",
       "      <td>3.5</td>\n",
       "      <td>1.4</td>\n",
       "      <td>0.2</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2</td>\n",
       "      <td>4.9</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.4</td>\n",
       "      <td>0.2</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>3</td>\n",
       "      <td>4.7</td>\n",
       "      <td>3.2</td>\n",
       "      <td>1.3</td>\n",
       "      <td>0.2</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>4</td>\n",
       "      <td>4.6</td>\n",
       "      <td>3.1</td>\n",
       "      <td>1.5</td>\n",
       "      <td>0.2</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>5</td>\n",
       "      <td>5.0</td>\n",
       "      <td>3.6</td>\n",
       "      <td>1.4</td>\n",
       "      <td>0.2</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   Unnamed: 0  Sepal.Length  Sepal.Width  Petal.Length  Petal.Width  setosa  \\\n",
       "0           1           5.1          3.5           1.4          0.2       1   \n",
       "1           2           4.9          3.0           1.4          0.2       1   \n",
       "2           3           4.7          3.2           1.3          0.2       1   \n",
       "3           4           4.6          3.1           1.5          0.2       1   \n",
       "4           5           5.0          3.6           1.4          0.2       1   \n",
       "\n",
       "   versicolor  virginica  \n",
       "0           0          0  \n",
       "1           0          0  \n",
       "2           0          0  \n",
       "3           0          0  \n",
       "4           0          0  "
      ]
     },
     "execution_count": 55,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "data.head()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 56,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "index = np.random.permutation(len(data))\n",
    "data = data.iloc[index] \n",
    "x = data[data.columns[1:-3]]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 57,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "y = data.iloc[:,-3:]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 58,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "((150, 4), (150, 3))"
      ]
     },
     "execution_count": 58,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "x.shape,y.shape"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 59,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "model = keras.Sequential()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 60,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "model.add(keras.layers.Dense(3,input_dim=4,activation='softmax'))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 61,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "model.compile(optimizer=\"adam\",loss=\"categorical_crossentropy\",metrics=['acc'])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 64,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Epoch 1/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2955 - acc: 0.9600\n",
      "Epoch 2/600\n",
      "150/150 [==============================] - 0s 127us/step - loss: 0.2951 - acc: 0.9600\n",
      "Epoch 3/600\n",
      "150/150 [==============================] - 0s 126us/step - loss: 0.2948 - acc: 0.9600\n",
      "Epoch 4/600\n",
      "150/150 [==============================] - 0s 119us/step - loss: 0.2946 - acc: 0.9600\n",
      "Epoch 5/600\n",
      "150/150 [==============================] - 0s 119us/step - loss: 0.2942 - acc: 0.9600\n",
      "Epoch 6/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2942 - acc: 0.9600\n",
      "Epoch 7/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2937 - acc: 0.9600\n",
      "Epoch 8/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2935 - acc: 0.9600\n",
      "Epoch 9/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2931 - acc: 0.9600\n",
      "Epoch 10/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2927 - acc: 0.9600\n",
      "Epoch 11/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2924 - acc: 0.9600\n",
      "Epoch 12/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2921 - acc: 0.9600\n",
      "Epoch 13/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2918 - acc: 0.9600\n",
      "Epoch 14/600\n",
      "150/150 [==============================] - 0s 133us/step - loss: 0.2916 - acc: 0.9600\n",
      "Epoch 15/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2912 - acc: 0.9600\n",
      "Epoch 16/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2910 - acc: 0.9600\n",
      "Epoch 17/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2906 - acc: 0.9600\n",
      "Epoch 18/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2903 - acc: 0.9600\n",
      "Epoch 19/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2901 - acc: 0.9600\n",
      "Epoch 20/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2896 - acc: 0.9600\n",
      "Epoch 21/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2894 - acc: 0.9600\n",
      "Epoch 22/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2894 - acc: 0.9600\n",
      "Epoch 23/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2890 - acc: 0.9600\n",
      "Epoch 24/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2885 - acc: 0.9600\n",
      "Epoch 25/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2883 - acc: 0.9600\n",
      "Epoch 26/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2879 - acc: 0.9600\n",
      "Epoch 27/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2876 - acc: 0.9600\n",
      "Epoch 28/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2874 - acc: 0.9600\n",
      "Epoch 29/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2869 - acc: 0.9600\n",
      "Epoch 30/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2866 - acc: 0.9600\n",
      "Epoch 31/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2864 - acc: 0.9600\n",
      "Epoch 32/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2862 - acc: 0.9600\n",
      "Epoch 33/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2860 - acc: 0.9600\n",
      "Epoch 34/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2854 - acc: 0.9600\n",
      "Epoch 35/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2852 - acc: 0.9600\n",
      "Epoch 36/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2852 - acc: 0.9600\n",
      "Epoch 37/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2849 - acc: 0.9600\n",
      "Epoch 38/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2843 - acc: 0.9600\n",
      "Epoch 39/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2840 - acc: 0.9600\n",
      "Epoch 40/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2838 - acc: 0.9600\n",
      "Epoch 41/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2838 - acc: 0.9600\n",
      "Epoch 42/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2836 - acc: 0.9600\n",
      "Epoch 43/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2828 - acc: 0.9600\n",
      "Epoch 44/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2826 - acc: 0.9600\n",
      "Epoch 45/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2823 - acc: 0.9600\n",
      "Epoch 46/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2820 - acc: 0.9600\n",
      "Epoch 47/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2817 - acc: 0.9600\n",
      "Epoch 48/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2814 - acc: 0.9600\n",
      "Epoch 49/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2811 - acc: 0.9600\n",
      "Epoch 50/600\n",
      "150/150 [==============================] - 0s 133us/step - loss: 0.2808 - acc: 0.9600\n",
      "Epoch 51/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2806 - acc: 0.9600\n",
      "Epoch 52/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2802 - acc: 0.9600\n",
      "Epoch 53/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2800 - acc: 0.9600\n",
      "Epoch 54/600\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.2797 - acc: 0.9600\n",
      "Epoch 55/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2795 - acc: 0.9600\n",
      "Epoch 56/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2792 - acc: 0.9600\n",
      "Epoch 57/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2787 - acc: 0.9600\n",
      "Epoch 58/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2786 - acc: 0.9600\n",
      "Epoch 59/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2784 - acc: 0.9600\n",
      "Epoch 60/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2780 - acc: 0.9600\n",
      "Epoch 61/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2777 - acc: 0.9600\n",
      "Epoch 62/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2774 - acc: 0.9600\n",
      "Epoch 63/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2771 - acc: 0.9600\n",
      "Epoch 64/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2768 - acc: 0.9600\n",
      "Epoch 65/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2767 - acc: 0.9600\n",
      "Epoch 66/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2762 - acc: 0.9600\n",
      "Epoch 67/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2760 - acc: 0.9600\n",
      "Epoch 68/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2757 - acc: 0.9600\n",
      "Epoch 69/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2754 - acc: 0.9600\n",
      "Epoch 70/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2752 - acc: 0.9600\n",
      "Epoch 71/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2749 - acc: 0.9600\n",
      "Epoch 72/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2745 - acc: 0.9600\n",
      "Epoch 73/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2743 - acc: 0.9600\n",
      "Epoch 74/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2741 - acc: 0.9600\n",
      "Epoch 75/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2737 - acc: 0.9600\n",
      "Epoch 76/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2734 - acc: 0.9600\n",
      "Epoch 77/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2732 - acc: 0.9600\n",
      "Epoch 78/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2729 - acc: 0.9600\n",
      "Epoch 79/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2727 - acc: 0.9600\n",
      "Epoch 80/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2724 - acc: 0.9600\n",
      "Epoch 81/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2723 - acc: 0.9600\n",
      "Epoch 82/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2718 - acc: 0.9600\n",
      "Epoch 83/600\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "150/150 [==============================] - 0s 113us/step - loss: 0.2716 - acc: 0.9600\n",
      "Epoch 84/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2713 - acc: 0.9600\n",
      "Epoch 85/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2710 - acc: 0.9600\n",
      "Epoch 86/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2708 - acc: 0.9600\n",
      "Epoch 87/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2704 - acc: 0.9600\n",
      "Epoch 88/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2701 - acc: 0.9600\n",
      "Epoch 89/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2699 - acc: 0.9600\n",
      "Epoch 90/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2695 - acc: 0.9600\n",
      "Epoch 91/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2694 - acc: 0.9600\n",
      "Epoch 92/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2691 - acc: 0.9600\n",
      "Epoch 93/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2690 - acc: 0.9600\n",
      "Epoch 94/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2685 - acc: 0.9600\n",
      "Epoch 95/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2682 - acc: 0.9600\n",
      "Epoch 96/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2680 - acc: 0.9533\n",
      "Epoch 97/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2677 - acc: 0.9533\n",
      "Epoch 98/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2675 - acc: 0.9533\n",
      "Epoch 99/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2673 - acc: 0.9600\n",
      "Epoch 100/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2669 - acc: 0.9600\n",
      "Epoch 101/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2668 - acc: 0.9600\n",
      "Epoch 102/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2664 - acc: 0.9600\n",
      "Epoch 103/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2660 - acc: 0.9600\n",
      "Epoch 104/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2658 - acc: 0.9600\n",
      "Epoch 105/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2655 - acc: 0.9600\n",
      "Epoch 106/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2653 - acc: 0.9600\n",
      "Epoch 107/600\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.2651 - acc: 0.9600\n",
      "Epoch 108/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2647 - acc: 0.9600\n",
      "Epoch 109/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2644 - acc: 0.9600\n",
      "Epoch 110/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2642 - acc: 0.9600\n",
      "Epoch 111/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2642 - acc: 0.9600\n",
      "Epoch 112/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2636 - acc: 0.9600\n",
      "Epoch 113/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2634 - acc: 0.9600\n",
      "Epoch 114/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2635 - acc: 0.9600\n",
      "Epoch 115/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2628 - acc: 0.9600\n",
      "Epoch 116/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2626 - acc: 0.9600\n",
      "Epoch 117/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2624 - acc: 0.9600\n",
      "Epoch 118/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2621 - acc: 0.9600\n",
      "Epoch 119/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2618 - acc: 0.9600\n",
      "Epoch 120/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2615 - acc: 0.9600\n",
      "Epoch 121/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2613 - acc: 0.9600\n",
      "Epoch 122/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2610 - acc: 0.9600\n",
      "Epoch 123/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2608 - acc: 0.9600\n",
      "Epoch 124/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2605 - acc: 0.9600\n",
      "Epoch 125/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2604 - acc: 0.9600\n",
      "Epoch 126/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2601 - acc: 0.9600\n",
      "Epoch 127/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2597 - acc: 0.9600\n",
      "Epoch 128/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2595 - acc: 0.9600\n",
      "Epoch 129/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2595 - acc: 0.9600\n",
      "Epoch 130/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2591 - acc: 0.9600\n",
      "Epoch 131/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2589 - acc: 0.9600\n",
      "Epoch 132/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2584 - acc: 0.9600\n",
      "Epoch 133/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2581 - acc: 0.9600\n",
      "Epoch 134/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2580 - acc: 0.9600\n",
      "Epoch 135/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2577 - acc: 0.9533\n",
      "Epoch 136/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2575 - acc: 0.9600\n",
      "Epoch 137/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2573 - acc: 0.9600\n",
      "Epoch 138/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2570 - acc: 0.9600\n",
      "Epoch 139/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2567 - acc: 0.9600\n",
      "Epoch 140/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2564 - acc: 0.9600\n",
      "Epoch 141/600\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.2562 - acc: 0.9600\n",
      "Epoch 142/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2559 - acc: 0.9600\n",
      "Epoch 143/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2557 - acc: 0.9600\n",
      "Epoch 144/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2553 - acc: 0.9600\n",
      "Epoch 145/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2553 - acc: 0.9600\n",
      "Epoch 146/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2548 - acc: 0.9600\n",
      "Epoch 147/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2547 - acc: 0.9600\n",
      "Epoch 148/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2545 - acc: 0.9600\n",
      "Epoch 149/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2542 - acc: 0.9600\n",
      "Epoch 150/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2539 - acc: 0.9600\n",
      "Epoch 151/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2536 - acc: 0.9600\n",
      "Epoch 152/600\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.2537 - acc: 0.9600\n",
      "Epoch 153/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2531 - acc: 0.9600\n",
      "Epoch 154/600\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.2528 - acc: 0.9533\n",
      "Epoch 155/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2528 - acc: 0.9600\n",
      "Epoch 156/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2524 - acc: 0.9600\n",
      "Epoch 157/600\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.2523 - acc: 0.9600\n",
      "Epoch 158/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2520 - acc: 0.9600\n",
      "Epoch 159/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2518 - acc: 0.9600\n",
      "Epoch 160/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2515 - acc: 0.9600\n",
      "Epoch 161/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2513 - acc: 0.9600\n",
      "Epoch 162/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2510 - acc: 0.9600\n",
      "Epoch 163/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2507 - acc: 0.9600\n",
      "Epoch 164/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2507 - acc: 0.9600\n",
      "Epoch 165/600\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "150/150 [==============================] - 0s 106us/step - loss: 0.2504 - acc: 0.9600\n",
      "Epoch 166/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2500 - acc: 0.9600\n",
      "Epoch 167/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2497 - acc: 0.9600\n",
      "Epoch 168/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2494 - acc: 0.9533\n",
      "Epoch 169/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2493 - acc: 0.9600\n",
      "Epoch 170/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2490 - acc: 0.9600\n",
      "Epoch 171/600\n",
      "150/150 [==============================] - 0s 126us/step - loss: 0.2488 - acc: 0.9533\n",
      "Epoch 172/600\n",
      "150/150 [==============================] - 0s 126us/step - loss: 0.2486 - acc: 0.9600\n",
      "Epoch 173/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2482 - acc: 0.9600\n",
      "Epoch 174/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2480 - acc: 0.9533\n",
      "Epoch 175/600\n",
      "150/150 [==============================] - ETA: 0s - loss: 0.2261 - acc: 1.000 - 0s 113us/step - loss: 0.2479 - acc: 0.9600\n",
      "Epoch 176/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2475 - acc: 0.9533\n",
      "Epoch 177/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2474 - acc: 0.9600\n",
      "Epoch 178/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2472 - acc: 0.9533\n",
      "Epoch 179/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2468 - acc: 0.9600\n",
      "Epoch 180/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2466 - acc: 0.9600\n",
      "Epoch 181/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2465 - acc: 0.9600\n",
      "Epoch 182/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2461 - acc: 0.9533\n",
      "Epoch 183/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2460 - acc: 0.9600\n",
      "Epoch 184/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2457 - acc: 0.9600\n",
      "Epoch 185/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2454 - acc: 0.9600\n",
      "Epoch 186/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2452 - acc: 0.9600\n",
      "Epoch 187/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2451 - acc: 0.9600\n",
      "Epoch 188/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2448 - acc: 0.9600\n",
      "Epoch 189/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2444 - acc: 0.9667\n",
      "Epoch 190/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2442 - acc: 0.9600\n",
      "Epoch 191/600\n",
      "150/150 [==============================] - 0s 133us/step - loss: 0.2441 - acc: 0.9600\n",
      "Epoch 192/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2438 - acc: 0.9600\n",
      "Epoch 193/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2436 - acc: 0.9600\n",
      "Epoch 194/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2434 - acc: 0.9600\n",
      "Epoch 195/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2430 - acc: 0.9600\n",
      "Epoch 196/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2429 - acc: 0.9600\n",
      "Epoch 197/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2427 - acc: 0.9600\n",
      "Epoch 198/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2426 - acc: 0.9600\n",
      "Epoch 199/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2423 - acc: 0.9600\n",
      "Epoch 200/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2420 - acc: 0.9600\n",
      "Epoch 201/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2418 - acc: 0.9600\n",
      "Epoch 202/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2416 - acc: 0.9600\n",
      "Epoch 203/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2414 - acc: 0.9600\n",
      "Epoch 204/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2411 - acc: 0.9600\n",
      "Epoch 205/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2408 - acc: 0.9600\n",
      "Epoch 206/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2406 - acc: 0.9600\n",
      "Epoch 207/600\n",
      "150/150 [==============================] - 0s 126us/step - loss: 0.2403 - acc: 0.9600\n",
      "Epoch 208/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2402 - acc: 0.9533\n",
      "Epoch 209/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2399 - acc: 0.9600\n",
      "Epoch 210/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2397 - acc: 0.9533\n",
      "Epoch 211/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2395 - acc: 0.9600\n",
      "Epoch 212/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2393 - acc: 0.9533\n",
      "Epoch 213/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2390 - acc: 0.9533\n",
      "Epoch 214/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2389 - acc: 0.9600\n",
      "Epoch 215/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2387 - acc: 0.9533\n",
      "Epoch 216/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2383 - acc: 0.9600\n",
      "Epoch 217/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2381 - acc: 0.9600\n",
      "Epoch 218/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2379 - acc: 0.9600\n",
      "Epoch 219/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2376 - acc: 0.9600\n",
      "Epoch 220/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2376 - acc: 0.9600\n",
      "Epoch 221/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2374 - acc: 0.9600\n",
      "Epoch 222/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2370 - acc: 0.9600\n",
      "Epoch 223/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2367 - acc: 0.9600\n",
      "Epoch 224/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2365 - acc: 0.9600\n",
      "Epoch 225/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2363 - acc: 0.9600\n",
      "Epoch 226/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2361 - acc: 0.9600\n",
      "Epoch 227/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2359 - acc: 0.9600\n",
      "Epoch 228/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2359 - acc: 0.9600\n",
      "Epoch 229/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2354 - acc: 0.9600\n",
      "Epoch 230/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2352 - acc: 0.9600\n",
      "Epoch 231/600\n",
      "150/150 [==============================] - 0s 126us/step - loss: 0.2350 - acc: 0.9600\n",
      "Epoch 232/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2347 - acc: 0.9600\n",
      "Epoch 233/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2345 - acc: 0.9600\n",
      "Epoch 234/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2344 - acc: 0.9600\n",
      "Epoch 235/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2341 - acc: 0.9600\n",
      "Epoch 236/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2340 - acc: 0.9600\n",
      "Epoch 237/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2337 - acc: 0.9600\n",
      "Epoch 238/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2334 - acc: 0.9600\n",
      "Epoch 239/600\n",
      "150/150 [==============================] - ETA: 0s - loss: 0.2270 - acc: 0.968 - 0s 100us/step - loss: 0.2332 - acc: 0.9600\n",
      "Epoch 240/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2330 - acc: 0.9600\n",
      "Epoch 241/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2328 - acc: 0.9600\n",
      "Epoch 242/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2326 - acc: 0.9600\n",
      "Epoch 243/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2324 - acc: 0.9600\n",
      "Epoch 244/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2321 - acc: 0.9600\n",
      "Epoch 245/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2319 - acc: 0.9600\n",
      "Epoch 246/600\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "150/150 [==============================] - 0s 113us/step - loss: 0.2317 - acc: 0.9600\n",
      "Epoch 247/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2315 - acc: 0.9600\n",
      "Epoch 248/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2314 - acc: 0.9600\n",
      "Epoch 249/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2311 - acc: 0.9600\n",
      "Epoch 250/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2308 - acc: 0.9600\n",
      "Epoch 251/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2307 - acc: 0.9600\n",
      "Epoch 252/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2304 - acc: 0.9600\n",
      "Epoch 253/600\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.2302 - acc: 0.9600\n",
      "Epoch 254/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2303 - acc: 0.9600\n",
      "Epoch 255/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2297 - acc: 0.9600\n",
      "Epoch 256/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2296 - acc: 0.9600\n",
      "Epoch 257/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2295 - acc: 0.9600\n",
      "Epoch 258/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2292 - acc: 0.9600\n",
      "Epoch 259/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2289 - acc: 0.9600\n",
      "Epoch 260/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2287 - acc: 0.9600\n",
      "Epoch 261/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2285 - acc: 0.9600\n",
      "Epoch 262/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2284 - acc: 0.9600\n",
      "Epoch 263/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2282 - acc: 0.9600\n",
      "Epoch 264/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2280 - acc: 0.9600\n",
      "Epoch 265/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2277 - acc: 0.9600\n",
      "Epoch 266/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2276 - acc: 0.9600\n",
      "Epoch 267/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2272 - acc: 0.9600\n",
      "Epoch 268/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2270 - acc: 0.9600\n",
      "Epoch 269/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2268 - acc: 0.9600\n",
      "Epoch 270/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2268 - acc: 0.9600\n",
      "Epoch 271/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2265 - acc: 0.9600\n",
      "Epoch 272/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2263 - acc: 0.9600\n",
      "Epoch 273/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2260 - acc: 0.9600\n",
      "Epoch 274/600\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.2257 - acc: 0.9600\n",
      "Epoch 275/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2256 - acc: 0.9600\n",
      "Epoch 276/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2253 - acc: 0.9600\n",
      "Epoch 277/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2253 - acc: 0.9600\n",
      "Epoch 278/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2250 - acc: 0.9600\n",
      "Epoch 279/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2247 - acc: 0.9600\n",
      "Epoch 280/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2245 - acc: 0.9600\n",
      "Epoch 281/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2244 - acc: 0.9600\n",
      "Epoch 282/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2242 - acc: 0.9600\n",
      "Epoch 283/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2240 - acc: 0.9600\n",
      "Epoch 284/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2238 - acc: 0.9667\n",
      "Epoch 285/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2236 - acc: 0.9600\n",
      "Epoch 286/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2233 - acc: 0.9600\n",
      "Epoch 287/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2231 - acc: 0.9600\n",
      "Epoch 288/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2229 - acc: 0.9600\n",
      "Epoch 289/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2227 - acc: 0.9600\n",
      "Epoch 290/600\n",
      "150/150 [==============================] - 0s 133us/step - loss: 0.2225 - acc: 0.9600\n",
      "Epoch 291/600\n",
      "150/150 [==============================] - 0s 126us/step - loss: 0.2223 - acc: 0.9600\n",
      "Epoch 292/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2221 - acc: 0.9600\n",
      "Epoch 293/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2219 - acc: 0.9600\n",
      "Epoch 294/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2219 - acc: 0.9600\n",
      "Epoch 295/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2217 - acc: 0.9600\n",
      "Epoch 296/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2214 - acc: 0.9600\n",
      "Epoch 297/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2212 - acc: 0.9600\n",
      "Epoch 298/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2209 - acc: 0.9600\n",
      "Epoch 299/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2207 - acc: 0.9600\n",
      "Epoch 300/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2205 - acc: 0.9600\n",
      "Epoch 301/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2205 - acc: 0.9600\n",
      "Epoch 302/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2201 - acc: 0.9600\n",
      "Epoch 303/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2199 - acc: 0.9600\n",
      "Epoch 304/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2198 - acc: 0.9600\n",
      "Epoch 305/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2195 - acc: 0.9600\n",
      "Epoch 306/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2195 - acc: 0.9600\n",
      "Epoch 307/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2192 - acc: 0.9600\n",
      "Epoch 308/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2189 - acc: 0.9600\n",
      "Epoch 309/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2187 - acc: 0.9667\n",
      "Epoch 310/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2185 - acc: 0.9667\n",
      "Epoch 311/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2185 - acc: 0.9600\n",
      "Epoch 312/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2182 - acc: 0.9600\n",
      "Epoch 313/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2179 - acc: 0.9667\n",
      "Epoch 314/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2178 - acc: 0.9667\n",
      "Epoch 315/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2175 - acc: 0.9600\n",
      "Epoch 316/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2172 - acc: 0.9600\n",
      "Epoch 317/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2171 - acc: 0.9600\n",
      "Epoch 318/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2173 - acc: 0.9600\n",
      "Epoch 319/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2168 - acc: 0.9600\n",
      "Epoch 320/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2165 - acc: 0.9600\n",
      "Epoch 321/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2163 - acc: 0.9600\n",
      "Epoch 322/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2162 - acc: 0.9667\n",
      "Epoch 323/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2161 - acc: 0.9600\n",
      "Epoch 324/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2159 - acc: 0.9667\n",
      "Epoch 325/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2159 - acc: 0.9600\n",
      "Epoch 326/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2154 - acc: 0.9600\n",
      "Epoch 327/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2152 - acc: 0.9667\n",
      "Epoch 328/600\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "150/150 [==============================] - 0s 106us/step - loss: 0.2150 - acc: 0.9667\n",
      "Epoch 329/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2148 - acc: 0.9667\n",
      "Epoch 330/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2146 - acc: 0.9600\n",
      "Epoch 331/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2145 - acc: 0.9600\n",
      "Epoch 332/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2143 - acc: 0.9600\n",
      "Epoch 333/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2145 - acc: 0.9600\n",
      "Epoch 334/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2140 - acc: 0.9600\n",
      "Epoch 335/600\n",
      "150/150 [==============================] - 0s 126us/step - loss: 0.2138 - acc: 0.9600\n",
      "Epoch 336/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2135 - acc: 0.9667\n",
      "Epoch 337/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2133 - acc: 0.9600\n",
      "Epoch 338/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2131 - acc: 0.9600\n",
      "Epoch 339/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2132 - acc: 0.9600\n",
      "Epoch 340/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2129 - acc: 0.9600\n",
      "Epoch 341/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2127 - acc: 0.9600\n",
      "Epoch 342/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2124 - acc: 0.9600\n",
      "Epoch 343/600\n",
      "150/150 [==============================] - 0s 126us/step - loss: 0.2123 - acc: 0.9600\n",
      "Epoch 344/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2122 - acc: 0.9600\n",
      "Epoch 345/600\n",
      "150/150 [==============================] - 0s 140us/step - loss: 0.2120 - acc: 0.9600\n",
      "Epoch 346/600\n",
      "150/150 [==============================] - 0s 133us/step - loss: 0.2117 - acc: 0.9600\n",
      "Epoch 347/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2115 - acc: 0.9667\n",
      "Epoch 348/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2113 - acc: 0.9667\n",
      "Epoch 349/600\n",
      "150/150 [==============================] - 0s 133us/step - loss: 0.2112 - acc: 0.9667\n",
      "Epoch 350/600\n",
      "150/150 [==============================] - 0s 126us/step - loss: 0.2109 - acc: 0.9600\n",
      "Epoch 351/600\n",
      "150/150 [==============================] - 0s 126us/step - loss: 0.2107 - acc: 0.9667\n",
      "Epoch 352/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2107 - acc: 0.9600\n",
      "Epoch 353/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2104 - acc: 0.9600\n",
      "Epoch 354/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2103 - acc: 0.9667\n",
      "Epoch 355/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2100 - acc: 0.9667\n",
      "Epoch 356/600\n",
      "150/150 [==============================] - 0s 126us/step - loss: 0.2099 - acc: 0.9667\n",
      "Epoch 357/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2097 - acc: 0.9667\n",
      "Epoch 358/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2095 - acc: 0.9600\n",
      "Epoch 359/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2094 - acc: 0.9667\n",
      "Epoch 360/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2092 - acc: 0.9600\n",
      "Epoch 361/600\n",
      "150/150 [==============================] - 0s 126us/step - loss: 0.2090 - acc: 0.9600\n",
      "Epoch 362/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2088 - acc: 0.9667\n",
      "Epoch 363/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2087 - acc: 0.9667\n",
      "Epoch 364/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2084 - acc: 0.9600\n",
      "Epoch 365/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2083 - acc: 0.9600\n",
      "Epoch 366/600\n",
      "150/150 [==============================] - 0s 126us/step - loss: 0.2081 - acc: 0.9600\n",
      "Epoch 367/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2079 - acc: 0.9600\n",
      "Epoch 368/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2076 - acc: 0.9600\n",
      "Epoch 369/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2076 - acc: 0.9600\n",
      "Epoch 370/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2075 - acc: 0.9667\n",
      "Epoch 371/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2073 - acc: 0.9600\n",
      "Epoch 372/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2070 - acc: 0.9600\n",
      "Epoch 373/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2068 - acc: 0.9600\n",
      "Epoch 374/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2070 - acc: 0.9600\n",
      "Epoch 375/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2065 - acc: 0.9600\n",
      "Epoch 376/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2065 - acc: 0.9600\n",
      "Epoch 377/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2062 - acc: 0.9600\n",
      "Epoch 378/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2059 - acc: 0.9600\n",
      "Epoch 379/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2058 - acc: 0.9667\n",
      "Epoch 380/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2055 - acc: 0.9667\n",
      "Epoch 381/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2055 - acc: 0.9667\n",
      "Epoch 382/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2053 - acc: 0.9600\n",
      "Epoch 383/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2050 - acc: 0.9600\n",
      "Epoch 384/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2049 - acc: 0.9600\n",
      "Epoch 385/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2048 - acc: 0.9667\n",
      "Epoch 386/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2045 - acc: 0.9667\n",
      "Epoch 387/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2043 - acc: 0.9600\n",
      "Epoch 388/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2043 - acc: 0.9600\n",
      "Epoch 389/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2044 - acc: 0.9600\n",
      "Epoch 390/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2039 - acc: 0.9600\n",
      "Epoch 391/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2038 - acc: 0.9600\n",
      "Epoch 392/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2035 - acc: 0.9600\n",
      "Epoch 393/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2034 - acc: 0.9667\n",
      "Epoch 394/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2032 - acc: 0.9667\n",
      "Epoch 395/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2030 - acc: 0.9600\n",
      "Epoch 396/600\n",
      "150/150 [==============================] - 0s 133us/step - loss: 0.2031 - acc: 0.9600\n",
      "Epoch 397/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2026 - acc: 0.9600\n",
      "Epoch 398/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2025 - acc: 0.9667\n",
      "Epoch 399/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2025 - acc: 0.9600\n",
      "Epoch 400/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2022 - acc: 0.9600\n",
      "Epoch 401/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2020 - acc: 0.9600\n",
      "Epoch 402/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2018 - acc: 0.9600\n",
      "Epoch 403/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2017 - acc: 0.9600\n",
      "Epoch 404/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.2014 - acc: 0.9600\n",
      "Epoch 405/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2015 - acc: 0.9667\n",
      "Epoch 406/600\n",
      "150/150 [==============================] - 0s 126us/step - loss: 0.2011 - acc: 0.9600\n",
      "Epoch 407/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2011 - acc: 0.9600\n",
      "Epoch 408/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.2008 - acc: 0.9667\n",
      "Epoch 409/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2008 - acc: 0.9667\n",
      "Epoch 410/600\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "150/150 [==============================] - 0s 106us/step - loss: 0.2005 - acc: 0.9667\n",
      "Epoch 411/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2003 - acc: 0.9667\n",
      "Epoch 412/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.2002 - acc: 0.9667\n",
      "Epoch 413/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.2000 - acc: 0.9667\n",
      "Epoch 414/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1999 - acc: 0.9600\n",
      "Epoch 415/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1997 - acc: 0.9667\n",
      "Epoch 416/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1995 - acc: 0.9600\n",
      "Epoch 417/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1993 - acc: 0.9667\n",
      "Epoch 418/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1992 - acc: 0.9600\n",
      "Epoch 419/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1990 - acc: 0.9600\n",
      "Epoch 420/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1989 - acc: 0.9600\n",
      "Epoch 421/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1987 - acc: 0.9600\n",
      "Epoch 422/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1985 - acc: 0.9600\n",
      "Epoch 423/600\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.1983 - acc: 0.9667\n",
      "Epoch 424/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1982 - acc: 0.9667\n",
      "Epoch 425/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1980 - acc: 0.9667\n",
      "Epoch 426/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1978 - acc: 0.9667\n",
      "Epoch 427/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1976 - acc: 0.9667\n",
      "Epoch 428/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1976 - acc: 0.9667\n",
      "Epoch 429/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1974 - acc: 0.9600\n",
      "Epoch 430/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1973 - acc: 0.9600\n",
      "Epoch 431/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1970 - acc: 0.9667\n",
      "Epoch 432/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1969 - acc: 0.9600\n",
      "Epoch 433/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1967 - acc: 0.9667\n",
      "Epoch 434/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1967 - acc: 0.9667\n",
      "Epoch 435/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1964 - acc: 0.9667\n",
      "Epoch 436/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1962 - acc: 0.9667\n",
      "Epoch 437/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1960 - acc: 0.9667\n",
      "Epoch 438/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1960 - acc: 0.9667\n",
      "Epoch 439/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1957 - acc: 0.9667\n",
      "Epoch 440/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1956 - acc: 0.9667\n",
      "Epoch 441/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1954 - acc: 0.9667\n",
      "Epoch 442/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1952 - acc: 0.9667\n",
      "Epoch 443/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1951 - acc: 0.9667\n",
      "Epoch 444/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1950 - acc: 0.9667\n",
      "Epoch 445/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1948 - acc: 0.9667\n",
      "Epoch 446/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1946 - acc: 0.9667\n",
      "Epoch 447/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1945 - acc: 0.9667\n",
      "Epoch 448/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1943 - acc: 0.9667\n",
      "Epoch 449/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1942 - acc: 0.9667\n",
      "Epoch 450/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1940 - acc: 0.9667\n",
      "Epoch 451/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1938 - acc: 0.9667\n",
      "Epoch 452/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1937 - acc: 0.9667\n",
      "Epoch 453/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.1936 - acc: 0.9667\n",
      "Epoch 454/600\n",
      "150/150 [==============================] - ETA: 0s - loss: 0.2089 - acc: 0.968 - 0s 120us/step - loss: 0.1934 - acc: 0.9667\n",
      "Epoch 455/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1932 - acc: 0.9667\n",
      "Epoch 456/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1930 - acc: 0.9667\n",
      "Epoch 457/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1929 - acc: 0.9667\n",
      "Epoch 458/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1927 - acc: 0.9667\n",
      "Epoch 459/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1927 - acc: 0.9600\n",
      "Epoch 460/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1924 - acc: 0.9600\n",
      "Epoch 461/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1923 - acc: 0.9600\n",
      "Epoch 462/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1921 - acc: 0.9667\n",
      "Epoch 463/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1919 - acc: 0.9667\n",
      "Epoch 464/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1921 - acc: 0.9667\n",
      "Epoch 465/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1917 - acc: 0.9667\n",
      "Epoch 466/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1916 - acc: 0.9667\n",
      "Epoch 467/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1914 - acc: 0.9667\n",
      "Epoch 468/600\n",
      "150/150 [==============================] - 0s 126us/step - loss: 0.1912 - acc: 0.9667\n",
      "Epoch 469/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1910 - acc: 0.9667\n",
      "Epoch 470/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1912 - acc: 0.9600\n",
      "Epoch 471/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1909 - acc: 0.9600\n",
      "Epoch 472/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.1907 - acc: 0.9600\n",
      "Epoch 473/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1905 - acc: 0.9600\n",
      "Epoch 474/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1903 - acc: 0.9600\n",
      "Epoch 475/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1901 - acc: 0.9600\n",
      "Epoch 476/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1900 - acc: 0.9667\n",
      "Epoch 477/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1899 - acc: 0.9667\n",
      "Epoch 478/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1898 - acc: 0.9667\n",
      "Epoch 479/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1895 - acc: 0.9667\n",
      "Epoch 480/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1893 - acc: 0.9667\n",
      "Epoch 481/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1893 - acc: 0.9667\n",
      "Epoch 482/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1891 - acc: 0.9667\n",
      "Epoch 483/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1889 - acc: 0.9667\n",
      "Epoch 484/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1888 - acc: 0.9667\n",
      "Epoch 485/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1887 - acc: 0.9667\n",
      "Epoch 486/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1885 - acc: 0.9600\n",
      "Epoch 487/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1884 - acc: 0.9600\n",
      "Epoch 488/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1883 - acc: 0.9600\n",
      "Epoch 489/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1880 - acc: 0.9600\n",
      "Epoch 490/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1879 - acc: 0.9600\n",
      "Epoch 491/600\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "150/150 [==============================] - 0s 106us/step - loss: 0.1877 - acc: 0.9600\n",
      "Epoch 492/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1876 - acc: 0.9600\n",
      "Epoch 493/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1877 - acc: 0.9600\n",
      "Epoch 494/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1873 - acc: 0.9600\n",
      "Epoch 495/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1872 - acc: 0.9600\n",
      "Epoch 496/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1870 - acc: 0.9600\n",
      "Epoch 497/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1870 - acc: 0.9600\n",
      "Epoch 498/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1868 - acc: 0.9600\n",
      "Epoch 499/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1866 - acc: 0.9600\n",
      "Epoch 500/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1863 - acc: 0.9600\n",
      "Epoch 501/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1862 - acc: 0.9667\n",
      "Epoch 502/600\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.1862 - acc: 0.9667\n",
      "Epoch 503/600\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.1860 - acc: 0.9667\n",
      "Epoch 504/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1859 - acc: 0.9667\n",
      "Epoch 505/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1857 - acc: 0.9667\n",
      "Epoch 506/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1855 - acc: 0.9667\n",
      "Epoch 507/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1855 - acc: 0.9667\n",
      "Epoch 508/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1852 - acc: 0.9667\n",
      "Epoch 509/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1852 - acc: 0.9600\n",
      "Epoch 510/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1850 - acc: 0.9600\n",
      "Epoch 511/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.1848 - acc: 0.9600\n",
      "Epoch 512/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1847 - acc: 0.9600\n",
      "Epoch 513/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.1846 - acc: 0.9600\n",
      "Epoch 514/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1844 - acc: 0.9600\n",
      "Epoch 515/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1843 - acc: 0.9600\n",
      "Epoch 516/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1841 - acc: 0.9600\n",
      "Epoch 517/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1841 - acc: 0.9600\n",
      "Epoch 518/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1838 - acc: 0.9667\n",
      "Epoch 519/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1837 - acc: 0.9667\n",
      "Epoch 520/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1835 - acc: 0.9600\n",
      "Epoch 521/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1833 - acc: 0.9600\n",
      "Epoch 522/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1832 - acc: 0.9667\n",
      "Epoch 523/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1832 - acc: 0.9667\n",
      "Epoch 524/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1832 - acc: 0.9667\n",
      "Epoch 525/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1828 - acc: 0.9667\n",
      "Epoch 526/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1827 - acc: 0.9667\n",
      "Epoch 527/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1825 - acc: 0.9667\n",
      "Epoch 528/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.1825 - acc: 0.9667\n",
      "Epoch 529/600\n",
      "150/150 [==============================] - 0s 133us/step - loss: 0.1822 - acc: 0.9667\n",
      "Epoch 530/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1820 - acc: 0.9667\n",
      "Epoch 531/600\n",
      "150/150 [==============================] - ETA: 0s - loss: 0.1812 - acc: 0.968 - 0s 106us/step - loss: 0.1821 - acc: 0.9600\n",
      "Epoch 532/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1818 - acc: 0.9600\n",
      "Epoch 533/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1816 - acc: 0.9600\n",
      "Epoch 534/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1816 - acc: 0.9667\n",
      "Epoch 535/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1814 - acc: 0.9667\n",
      "Epoch 536/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1813 - acc: 0.9667\n",
      "Epoch 537/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1812 - acc: 0.9667\n",
      "Epoch 538/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1810 - acc: 0.9600\n",
      "Epoch 539/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1811 - acc: 0.9667\n",
      "Epoch 540/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1807 - acc: 0.9667\n",
      "Epoch 541/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1805 - acc: 0.9667\n",
      "Epoch 542/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.1804 - acc: 0.9600\n",
      "Epoch 543/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1803 - acc: 0.9667\n",
      "Epoch 544/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1803 - acc: 0.9667\n",
      "Epoch 545/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1800 - acc: 0.9667\n",
      "Epoch 546/600\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.1799 - acc: 0.9667\n",
      "Epoch 547/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1797 - acc: 0.9667\n",
      "Epoch 548/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1797 - acc: 0.9667\n",
      "Epoch 549/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1795 - acc: 0.9667\n",
      "Epoch 550/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1793 - acc: 0.9667\n",
      "Epoch 551/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1793 - acc: 0.9667\n",
      "Epoch 552/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1790 - acc: 0.9667\n",
      "Epoch 553/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1790 - acc: 0.9667\n",
      "Epoch 554/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1788 - acc: 0.9667\n",
      "Epoch 555/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1787 - acc: 0.9667\n",
      "Epoch 556/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1785 - acc: 0.9667\n",
      "Epoch 557/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1784 - acc: 0.9667\n",
      "Epoch 558/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1783 - acc: 0.9667\n",
      "Epoch 559/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1782 - acc: 0.9667\n",
      "Epoch 560/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1780 - acc: 0.9667\n",
      "Epoch 561/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1779 - acc: 0.9667\n",
      "Epoch 562/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1777 - acc: 0.9667\n",
      "Epoch 563/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1776 - acc: 0.9667\n",
      "Epoch 564/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1775 - acc: 0.9667\n",
      "Epoch 565/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1773 - acc: 0.9667\n",
      "Epoch 566/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1772 - acc: 0.9667\n",
      "Epoch 567/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1770 - acc: 0.9667\n",
      "Epoch 568/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1770 - acc: 0.9667\n",
      "Epoch 569/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1770 - acc: 0.9667\n",
      "Epoch 570/600\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.1766 - acc: 0.9667\n",
      "Epoch 571/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1766 - acc: 0.9667\n",
      "Epoch 572/600\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "150/150 [==============================] - 0s 113us/step - loss: 0.1764 - acc: 0.9667\n",
      "Epoch 573/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1765 - acc: 0.9667\n",
      "Epoch 574/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1764 - acc: 0.9667\n",
      "Epoch 575/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1760 - acc: 0.9667\n",
      "Epoch 576/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1758 - acc: 0.9667\n",
      "Epoch 577/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1757 - acc: 0.9667\n",
      "Epoch 578/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1756 - acc: 0.9667\n",
      "Epoch 579/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1754 - acc: 0.9667\n",
      "Epoch 580/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1753 - acc: 0.9667\n",
      "Epoch 581/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1753 - acc: 0.9600\n",
      "Epoch 582/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1751 - acc: 0.9600\n",
      "Epoch 583/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1750 - acc: 0.9600\n",
      "Epoch 584/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1751 - acc: 0.9600\n",
      "Epoch 585/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1747 - acc: 0.9600\n",
      "Epoch 586/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1745 - acc: 0.9667\n",
      "Epoch 587/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1745 - acc: 0.9667\n",
      "Epoch 588/600\n",
      "150/150 [==============================] - 0s 133us/step - loss: 0.1742 - acc: 0.9667\n",
      "Epoch 589/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1741 - acc: 0.9667\n",
      "Epoch 590/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.1741 - acc: 0.9667\n",
      "Epoch 591/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1741 - acc: 0.9667\n",
      "Epoch 592/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1738 - acc: 0.9667\n",
      "Epoch 593/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1738 - acc: 0.9667\n",
      "Epoch 594/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1737 - acc: 0.9667\n",
      "Epoch 595/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1735 - acc: 0.9667\n",
      "Epoch 596/600\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.1733 - acc: 0.9667\n",
      "Epoch 597/600\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.1731 - acc: 0.9667\n",
      "Epoch 598/600\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.1731 - acc: 0.9667\n",
      "Epoch 599/600\n",
      "150/150 [==============================] - 0s 120us/step - loss: 0.1730 - acc: 0.9667\n",
      "Epoch 600/600\n",
      "150/150 [==============================] - 0s 133us/step - loss: 0.1729 - acc: 0.9667\n"
     ]
    }
   ],
   "source": [
    "history = model.fit(x,y,epochs=600)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "#顺序编码"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [],
   "source": [
    "data2 = pd.read_csv('./iris.csv')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "spc_dic ={'setosa':0,'versicolor':1,'virginica':2}"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "data2['Species'] = data2.Species.map(spc_dic)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style>\n",
       "    .dataframe thead tr:only-child th {\n",
       "        text-align: right;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: left;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Unnamed: 0</th>\n",
       "      <th>Sepal.Length</th>\n",
       "      <th>Sepal.Width</th>\n",
       "      <th>Petal.Length</th>\n",
       "      <th>Petal.Width</th>\n",
       "      <th>Species</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1</td>\n",
       "      <td>5.1</td>\n",
       "      <td>3.5</td>\n",
       "      <td>1.4</td>\n",
       "      <td>0.2</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2</td>\n",
       "      <td>4.9</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1.4</td>\n",
       "      <td>0.2</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>3</td>\n",
       "      <td>4.7</td>\n",
       "      <td>3.2</td>\n",
       "      <td>1.3</td>\n",
       "      <td>0.2</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>4</td>\n",
       "      <td>4.6</td>\n",
       "      <td>3.1</td>\n",
       "      <td>1.5</td>\n",
       "      <td>0.2</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>5</td>\n",
       "      <td>5.0</td>\n",
       "      <td>3.6</td>\n",
       "      <td>1.4</td>\n",
       "      <td>0.2</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   Unnamed: 0  Sepal.Length  Sepal.Width  Petal.Length  Petal.Width  Species\n",
       "0           1           5.1          3.5           1.4          0.2        0\n",
       "1           2           4.9          3.0           1.4          0.2        0\n",
       "2           3           4.7          3.2           1.3          0.2        0\n",
       "3           4           4.6          3.1           1.5          0.2        0\n",
       "4           5           5.0          3.6           1.4          0.2        0"
      ]
     },
     "execution_count": 7,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "data2.head()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [],
   "source": [
    "index = np.random.permutation(len(data2))\n",
    "data2 = data2.iloc[index] \n",
    "x = data2[data2.columns[1:-1]]\n",
    "y = data2.Species"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "model = keras.Sequential()\n",
    "model.add(keras.layers.Dense(3,input_dim=4,activation='softmax'))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "model.compile(optimizer='adam',loss='sparse_categorical_crossentropy',metrics=['acc'])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Epoch 1/500\n",
      "150/150 [==============================] - 2s 12ms/step - loss: 2.4944 - acc: 0.3333\n",
      "Epoch 2/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 2.4399 - acc: 0.3333\n",
      "Epoch 3/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 2.3821 - acc: 0.3333\n",
      "Epoch 4/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 2.3259 - acc: 0.3333\n",
      "Epoch 5/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 2.2687 - acc: 0.3333\n",
      "Epoch 6/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 2.2119 - acc: 0.3333\n",
      "Epoch 7/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 2.1560 - acc: 0.3333\n",
      "Epoch 8/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 2.1003 - acc: 0.3467\n",
      "Epoch 9/500\n",
      "150/150 [==============================] - 0s 106us/step - loss: 2.0444 - acc: 0.3533\n",
      "Epoch 10/500\n",
      "150/150 [==============================] - 0s 106us/step - loss: 1.9908 - acc: 0.3600\n",
      "Epoch 11/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 1.9348 - acc: 0.3600\n",
      "Epoch 12/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 1.8805 - acc: 0.3600\n",
      "Epoch 13/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 1.8290 - acc: 0.3667\n",
      "Epoch 14/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 1.7793 - acc: 0.3667\n",
      "Epoch 15/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 1.7298 - acc: 0.3667\n",
      "Epoch 16/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 1.6782 - acc: 0.3667\n",
      "Epoch 17/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 1.6286 - acc: 0.3867\n",
      "Epoch 18/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 1.5827 - acc: 0.3933\n",
      "Epoch 19/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 1.5355 - acc: 0.4000\n",
      "Epoch 20/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 1.4924 - acc: 0.4000\n",
      "Epoch 21/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 1.4510 - acc: 0.4067\n",
      "Epoch 22/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 1.4058 - acc: 0.4133\n",
      "Epoch 23/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 1.3665 - acc: 0.4133\n",
      "Epoch 24/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 1.3318 - acc: 0.4133\n",
      "Epoch 25/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 1.2958 - acc: 0.4267\n",
      "Epoch 26/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 1.2596 - acc: 0.4467\n",
      "Epoch 27/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 1.2297 - acc: 0.4600\n",
      "Epoch 28/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 1.1994 - acc: 0.4600\n",
      "Epoch 29/500\n",
      "150/150 [==============================] - 0s 106us/step - loss: 1.1731 - acc: 0.4600\n",
      "Epoch 30/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 1.1492 - acc: 0.4667\n",
      "Epoch 31/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 1.1279 - acc: 0.4800\n",
      "Epoch 32/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 1.1062 - acc: 0.5067\n",
      "Epoch 33/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 1.0871 - acc: 0.5267\n",
      "Epoch 34/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 1.0715 - acc: 0.5333\n",
      "Epoch 35/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 1.0572 - acc: 0.5467\n",
      "Epoch 36/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 1.0441 - acc: 0.5533\n",
      "Epoch 37/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 1.0330 - acc: 0.5933\n",
      "Epoch 38/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 1.0228 - acc: 0.6067\n",
      "Epoch 39/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 1.0125 - acc: 0.6133\n",
      "Epoch 40/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 1.0036 - acc: 0.6467\n",
      "Epoch 41/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.9969 - acc: 0.6600\n",
      "Epoch 42/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.9898 - acc: 0.7000\n",
      "Epoch 43/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.9824 - acc: 0.7133\n",
      "Epoch 44/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.9766 - acc: 0.7333\n",
      "Epoch 45/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.9707 - acc: 0.7400\n",
      "Epoch 46/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.9653 - acc: 0.7467\n",
      "Epoch 47/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.9592 - acc: 0.7467\n",
      "Epoch 48/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.9541 - acc: 0.7600\n",
      "Epoch 49/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.9489 - acc: 0.7667\n",
      "Epoch 50/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.9442 - acc: 0.7400\n",
      "Epoch 51/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.9391 - acc: 0.7400\n",
      "Epoch 52/500\n",
      "150/150 [==============================] - ETA: 0s - loss: 0.9193 - acc: 0.812 - 0s 100us/step - loss: 0.9341 - acc: 0.7533\n",
      "Epoch 53/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.9295 - acc: 0.7667\n",
      "Epoch 54/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.9250 - acc: 0.7533\n",
      "Epoch 55/500\n",
      "150/150 [==============================] - ETA: 0s - loss: 0.9362 - acc: 0.781 - 0s 100us/step - loss: 0.9201 - acc: 0.7600\n",
      "Epoch 56/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.9158 - acc: 0.7600\n",
      "Epoch 57/500\n",
      "150/150 [==============================] - ETA: 0s - loss: 0.9388 - acc: 0.687 - 0s 93us/step - loss: 0.9110 - acc: 0.7600\n",
      "Epoch 58/500\n",
      "150/150 [==============================] - 0s 173us/step - loss: 0.9065 - acc: 0.7600\n",
      "Epoch 59/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.9021 - acc: 0.7533\n",
      "Epoch 60/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.8977 - acc: 0.7533\n",
      "Epoch 61/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.8936 - acc: 0.7600\n",
      "Epoch 62/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.8891 - acc: 0.7600\n",
      "Epoch 63/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.8849 - acc: 0.7600\n",
      "Epoch 64/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.8806 - acc: 0.7600\n",
      "Epoch 65/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.8764 - acc: 0.7600\n",
      "Epoch 66/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.8723 - acc: 0.7600\n",
      "Epoch 67/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.8682 - acc: 0.7600\n",
      "Epoch 68/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.8640 - acc: 0.7600\n",
      "Epoch 69/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.8601 - acc: 0.7600\n",
      "Epoch 70/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.8561 - acc: 0.7600\n",
      "Epoch 71/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.8525 - acc: 0.7600\n",
      "Epoch 72/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.8481 - acc: 0.7600\n",
      "Epoch 73/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.8443 - acc: 0.7600\n",
      "Epoch 74/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.8404 - acc: 0.7600\n",
      "Epoch 75/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.8367 - acc: 0.7600\n",
      "Epoch 76/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.8329 - acc: 0.7600\n",
      "Epoch 77/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.8292 - acc: 0.7667\n",
      "Epoch 78/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.8255 - acc: 0.7667\n",
      "Epoch 79/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.8219 - acc: 0.7600\n",
      "Epoch 80/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.8182 - acc: 0.7600\n",
      "Epoch 81/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.8147 - acc: 0.7667\n",
      "Epoch 82/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.8111 - acc: 0.7600\n",
      "Epoch 83/500\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "150/150 [==============================] - 0s 93us/step - loss: 0.8077 - acc: 0.7667\n",
      "Epoch 84/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.8040 - acc: 0.7600\n",
      "Epoch 85/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.8005 - acc: 0.7600\n",
      "Epoch 86/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.7972 - acc: 0.7600\n",
      "Epoch 87/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.7938 - acc: 0.7600\n",
      "Epoch 88/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.7904 - acc: 0.7600\n",
      "Epoch 89/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.7871 - acc: 0.7600\n",
      "Epoch 90/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.7838 - acc: 0.7600\n",
      "Epoch 91/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.7805 - acc: 0.7600\n",
      "Epoch 92/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.7773 - acc: 0.7600\n",
      "Epoch 93/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.7743 - acc: 0.7733\n",
      "Epoch 94/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.7711 - acc: 0.7733\n",
      "Epoch 95/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.7678 - acc: 0.7733\n",
      "Epoch 96/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.7648 - acc: 0.7733\n",
      "Epoch 97/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.7618 - acc: 0.7733\n",
      "Epoch 98/500\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.7587 - acc: 0.7733\n",
      "Epoch 99/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.7556 - acc: 0.7733\n",
      "Epoch 100/500\n",
      "150/150 [==============================] - ETA: 0s - loss: 0.7562 - acc: 0.812 - 0s 93us/step - loss: 0.7528 - acc: 0.7733\n",
      "Epoch 101/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.7498 - acc: 0.7733\n",
      "Epoch 102/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.7470 - acc: 0.7733\n",
      "Epoch 103/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.7441 - acc: 0.7667\n",
      "Epoch 104/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.7412 - acc: 0.7667\n",
      "Epoch 105/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.7385 - acc: 0.7733\n",
      "Epoch 106/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.7357 - acc: 0.7733\n",
      "Epoch 107/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.7329 - acc: 0.7733\n",
      "Epoch 108/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.7302 - acc: 0.7733\n",
      "Epoch 109/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.7274 - acc: 0.7733\n",
      "Epoch 110/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.7247 - acc: 0.7733\n",
      "Epoch 111/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.7222 - acc: 0.7800\n",
      "Epoch 112/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.7197 - acc: 0.7800\n",
      "Epoch 113/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.7168 - acc: 0.7800\n",
      "Epoch 114/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.7143 - acc: 0.7800\n",
      "Epoch 115/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.7118 - acc: 0.7800\n",
      "Epoch 116/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.7092 - acc: 0.7800\n",
      "Epoch 117/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.7067 - acc: 0.7800\n",
      "Epoch 118/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.7042 - acc: 0.7800\n",
      "Epoch 119/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.7018 - acc: 0.7800\n",
      "Epoch 120/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.6994 - acc: 0.7800\n",
      "Epoch 121/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.6969 - acc: 0.7800\n",
      "Epoch 122/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.6946 - acc: 0.7733\n",
      "Epoch 123/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.6925 - acc: 0.7733\n",
      "Epoch 124/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.6899 - acc: 0.7800\n",
      "Epoch 125/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.6876 - acc: 0.7733\n",
      "Epoch 126/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.6853 - acc: 0.7733\n",
      "Epoch 127/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.6832 - acc: 0.7733\n",
      "Epoch 128/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.6811 - acc: 0.7733\n",
      "Epoch 129/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.6787 - acc: 0.7867\n",
      "Epoch 130/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.6764 - acc: 0.7867\n",
      "Epoch 131/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.6742 - acc: 0.7867\n",
      "Epoch 132/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.6723 - acc: 0.7867\n",
      "Epoch 133/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.6698 - acc: 0.7867\n",
      "Epoch 134/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.6680 - acc: 0.7800\n",
      "Epoch 135/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.6657 - acc: 0.7733\n",
      "Epoch 136/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.6638 - acc: 0.7733\n",
      "Epoch 137/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.6617 - acc: 0.7733\n",
      "Epoch 138/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.6596 - acc: 0.7733\n",
      "Epoch 139/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.6576 - acc: 0.7733\n",
      "Epoch 140/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.6556 - acc: 0.7733\n",
      "Epoch 141/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.6536 - acc: 0.7800\n",
      "Epoch 142/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.6516 - acc: 0.7800\n",
      "Epoch 143/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.6497 - acc: 0.7800\n",
      "Epoch 144/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.6477 - acc: 0.7867\n",
      "Epoch 145/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.6458 - acc: 0.7800\n",
      "Epoch 146/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.6440 - acc: 0.7867\n",
      "Epoch 147/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.6420 - acc: 0.7867\n",
      "Epoch 148/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.6402 - acc: 0.7867\n",
      "Epoch 149/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.6383 - acc: 0.7867\n",
      "Epoch 150/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.6365 - acc: 0.7867\n",
      "Epoch 151/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.6347 - acc: 0.7867\n",
      "Epoch 152/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.6329 - acc: 0.7867\n",
      "Epoch 153/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.6313 - acc: 0.7867\n",
      "Epoch 154/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.6293 - acc: 0.7867\n",
      "Epoch 155/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.6277 - acc: 0.7867\n",
      "Epoch 156/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.6258 - acc: 0.7867\n",
      "Epoch 157/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.6242 - acc: 0.7933\n",
      "Epoch 158/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.6224 - acc: 0.7933\n",
      "Epoch 159/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.6208 - acc: 0.7933\n",
      "Epoch 160/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.6190 - acc: 0.7933\n",
      "Epoch 161/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.6174 - acc: 0.7933\n",
      "Epoch 162/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.6158 - acc: 0.8000\n",
      "Epoch 163/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.6141 - acc: 0.8000\n",
      "Epoch 164/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.6125 - acc: 0.7933\n",
      "Epoch 165/500\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "150/150 [==============================] - 0s 86us/step - loss: 0.6112 - acc: 0.8000\n",
      "Epoch 166/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.6094 - acc: 0.8000\n",
      "Epoch 167/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.6078 - acc: 0.8000\n",
      "Epoch 168/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.6061 - acc: 0.8133\n",
      "Epoch 169/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.6046 - acc: 0.8067\n",
      "Epoch 170/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.6031 - acc: 0.8067\n",
      "Epoch 171/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.6015 - acc: 0.8067\n",
      "Epoch 172/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.6000 - acc: 0.8067\n",
      "Epoch 173/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5986 - acc: 0.8067\n",
      "Epoch 174/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5971 - acc: 0.8067\n",
      "Epoch 175/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5958 - acc: 0.8067\n",
      "Epoch 176/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.5941 - acc: 0.8067\n",
      "Epoch 177/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.5926 - acc: 0.8067\n",
      "Epoch 178/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.5913 - acc: 0.8133\n",
      "Epoch 179/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.5901 - acc: 0.8067\n",
      "Epoch 180/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5885 - acc: 0.8067\n",
      "Epoch 181/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5869 - acc: 0.8067\n",
      "Epoch 182/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5855 - acc: 0.8133\n",
      "Epoch 183/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.5841 - acc: 0.8133\n",
      "Epoch 184/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.5828 - acc: 0.8133\n",
      "Epoch 185/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.5815 - acc: 0.8133\n",
      "Epoch 186/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.5801 - acc: 0.8133\n",
      "Epoch 187/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.5787 - acc: 0.8133\n",
      "Epoch 188/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.5773 - acc: 0.8133\n",
      "Epoch 189/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.5760 - acc: 0.8133\n",
      "Epoch 190/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5748 - acc: 0.8133\n",
      "Epoch 191/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5734 - acc: 0.8133\n",
      "Epoch 192/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.5721 - acc: 0.8200\n",
      "Epoch 193/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.5709 - acc: 0.8133\n",
      "Epoch 194/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5696 - acc: 0.8133\n",
      "Epoch 195/500\n",
      "150/150 [==============================] - 0s 73us/step - loss: 0.5684 - acc: 0.8133\n",
      "Epoch 196/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5670 - acc: 0.8200\n",
      "Epoch 197/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.5658 - acc: 0.8200\n",
      "Epoch 198/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5647 - acc: 0.8133\n",
      "Epoch 199/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5633 - acc: 0.8200\n",
      "Epoch 200/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.5621 - acc: 0.8200\n",
      "Epoch 201/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.5614 - acc: 0.8133\n",
      "Epoch 202/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.5597 - acc: 0.8200\n",
      "Epoch 203/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.5585 - acc: 0.8200\n",
      "Epoch 204/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.5572 - acc: 0.8200\n",
      "Epoch 205/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.5562 - acc: 0.8200\n",
      "Epoch 206/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5550 - acc: 0.8267\n",
      "Epoch 207/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.5542 - acc: 0.8200\n",
      "Epoch 208/500\n",
      "150/150 [==============================] - 0s 87us/step - loss: 0.5526 - acc: 0.8200\n",
      "Epoch 209/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5514 - acc: 0.8267\n",
      "Epoch 210/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.5503 - acc: 0.8267\n",
      "Epoch 211/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.5492 - acc: 0.8267\n",
      "Epoch 212/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5484 - acc: 0.8267\n",
      "Epoch 213/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5474 - acc: 0.8267\n",
      "Epoch 214/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5459 - acc: 0.8267\n",
      "Epoch 215/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5447 - acc: 0.8267\n",
      "Epoch 216/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5436 - acc: 0.8267\n",
      "Epoch 217/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.5428 - acc: 0.8267\n",
      "Epoch 218/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.5416 - acc: 0.8267\n",
      "Epoch 219/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.5405 - acc: 0.8267\n",
      "Epoch 220/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5395 - acc: 0.8267\n",
      "Epoch 221/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5383 - acc: 0.8267\n",
      "Epoch 222/500\n",
      "150/150 [==============================] - 0s 87us/step - loss: 0.5373 - acc: 0.8267\n",
      "Epoch 223/500\n",
      "150/150 [==============================] - 0s 87us/step - loss: 0.5364 - acc: 0.8267\n",
      "Epoch 224/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.5354 - acc: 0.8267\n",
      "Epoch 225/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5341 - acc: 0.8267\n",
      "Epoch 226/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5331 - acc: 0.8267\n",
      "Epoch 227/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.5320 - acc: 0.8267\n",
      "Epoch 228/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5310 - acc: 0.8267\n",
      "Epoch 229/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.5301 - acc: 0.8267\n",
      "Epoch 230/500\n",
      "150/150 [==============================] - 0s 87us/step - loss: 0.5290 - acc: 0.8267\n",
      "Epoch 231/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5283 - acc: 0.8267\n",
      "Epoch 232/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5270 - acc: 0.8267\n",
      "Epoch 233/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5261 - acc: 0.8333\n",
      "Epoch 234/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5251 - acc: 0.8400\n",
      "Epoch 235/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5241 - acc: 0.8333\n",
      "Epoch 236/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.5232 - acc: 0.8267\n",
      "Epoch 237/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.5222 - acc: 0.8267\n",
      "Epoch 238/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.5212 - acc: 0.8267\n",
      "Epoch 239/500\n",
      "150/150 [==============================] - ETA: 0s - loss: 0.5554 - acc: 0.843 - 0s 106us/step - loss: 0.5204 - acc: 0.8467\n",
      "Epoch 240/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.5198 - acc: 0.8467\n",
      "Epoch 241/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.5187 - acc: 0.8533\n",
      "Epoch 242/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5174 - acc: 0.8333\n",
      "Epoch 243/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5170 - acc: 0.8400\n",
      "Epoch 244/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.5156 - acc: 0.8467\n",
      "Epoch 245/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.5147 - acc: 0.8400\n",
      "Epoch 246/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.5138 - acc: 0.8400\n",
      "Epoch 247/500\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "150/150 [==============================] - 0s 80us/step - loss: 0.5131 - acc: 0.8467\n",
      "Epoch 248/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.5121 - acc: 0.8600\n",
      "Epoch 249/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5113 - acc: 0.8600\n",
      "Epoch 250/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5101 - acc: 0.8533\n",
      "Epoch 251/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.5093 - acc: 0.8533\n",
      "Epoch 252/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5084 - acc: 0.8600\n",
      "Epoch 253/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.5075 - acc: 0.8533\n",
      "Epoch 254/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.5066 - acc: 0.8533\n",
      "Epoch 255/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5058 - acc: 0.8533\n",
      "Epoch 256/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5049 - acc: 0.8600\n",
      "Epoch 257/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5040 - acc: 0.8600\n",
      "Epoch 258/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5032 - acc: 0.8600\n",
      "Epoch 259/500\n",
      "150/150 [==============================] - 0s 73us/step - loss: 0.5024 - acc: 0.8600\n",
      "Epoch 260/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.5015 - acc: 0.8533\n",
      "Epoch 261/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.5008 - acc: 0.8533\n",
      "Epoch 262/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4999 - acc: 0.8600\n",
      "Epoch 263/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4990 - acc: 0.8667\n",
      "Epoch 264/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4982 - acc: 0.8667\n",
      "Epoch 265/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4975 - acc: 0.8667\n",
      "Epoch 266/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4965 - acc: 0.8800\n",
      "Epoch 267/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.4957 - acc: 0.8733\n",
      "Epoch 268/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4949 - acc: 0.8667\n",
      "Epoch 269/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4941 - acc: 0.8800\n",
      "Epoch 270/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4933 - acc: 0.8800\n",
      "Epoch 271/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4925 - acc: 0.8800\n",
      "Epoch 272/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4918 - acc: 0.8867\n",
      "Epoch 273/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.4909 - acc: 0.8800\n",
      "Epoch 274/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4902 - acc: 0.8867\n",
      "Epoch 275/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.4895 - acc: 0.8867\n",
      "Epoch 276/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4885 - acc: 0.8867\n",
      "Epoch 277/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4877 - acc: 0.8867\n",
      "Epoch 278/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4869 - acc: 0.8867\n",
      "Epoch 279/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4864 - acc: 0.8733\n",
      "Epoch 280/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4856 - acc: 0.8733\n",
      "Epoch 281/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4848 - acc: 0.8800\n",
      "Epoch 282/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4840 - acc: 0.8733\n",
      "Epoch 283/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4834 - acc: 0.8800\n",
      "Epoch 284/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4827 - acc: 0.8867\n",
      "Epoch 285/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4817 - acc: 0.8867\n",
      "Epoch 286/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.4809 - acc: 0.8867\n",
      "Epoch 287/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.4806 - acc: 0.9067\n",
      "Epoch 288/500\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.4795 - acc: 0.9000\n",
      "Epoch 289/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.4787 - acc: 0.9000\n",
      "Epoch 290/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.4780 - acc: 0.8933\n",
      "Epoch 291/500\n",
      "150/150 [==============================] - 0s 113us/step - loss: 0.4773 - acc: 0.9000\n",
      "Epoch 292/500\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.4765 - acc: 0.9067\n",
      "Epoch 293/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.4758 - acc: 0.9067\n",
      "Epoch 294/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.4751 - acc: 0.9067\n",
      "Epoch 295/500\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.4744 - acc: 0.9067\n",
      "Epoch 296/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4737 - acc: 0.9067\n",
      "Epoch 297/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4730 - acc: 0.9067\n",
      "Epoch 298/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4722 - acc: 0.9067\n",
      "Epoch 299/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4718 - acc: 0.9000\n",
      "Epoch 300/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4708 - acc: 0.9067\n",
      "Epoch 301/500\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.4703 - acc: 0.9067\n",
      "Epoch 302/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.4694 - acc: 0.9067\n",
      "Epoch 303/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.4688 - acc: 0.9067\n",
      "Epoch 304/500\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.4680 - acc: 0.9067\n",
      "Epoch 305/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4674 - acc: 0.9067\n",
      "Epoch 306/500\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.4667 - acc: 0.9133\n",
      "Epoch 307/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.4662 - acc: 0.9067\n",
      "Epoch 308/500\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.4654 - acc: 0.9067\n",
      "Epoch 309/500\n",
      "150/150 [==============================] - 0s 126us/step - loss: 0.4646 - acc: 0.9133\n",
      "Epoch 310/500\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.4640 - acc: 0.9067\n",
      "Epoch 311/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.4633 - acc: 0.9067\n",
      "Epoch 312/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.4627 - acc: 0.9067\n",
      "Epoch 313/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4620 - acc: 0.9067\n",
      "Epoch 314/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.4615 - acc: 0.9133\n",
      "Epoch 315/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4608 - acc: 0.9067\n",
      "Epoch 316/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4601 - acc: 0.9133\n",
      "Epoch 317/500\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.4595 - acc: 0.9133\n",
      "Epoch 318/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.4586 - acc: 0.9133\n",
      "Epoch 319/500\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.4581 - acc: 0.9067\n",
      "Epoch 320/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4575 - acc: 0.9000\n",
      "Epoch 321/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.4568 - acc: 0.9067\n",
      "Epoch 322/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4561 - acc: 0.9133\n",
      "Epoch 323/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4556 - acc: 0.9067\n",
      "Epoch 324/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.4549 - acc: 0.9067\n",
      "Epoch 325/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4542 - acc: 0.9133\n",
      "Epoch 326/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4536 - acc: 0.9133\n",
      "Epoch 327/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4531 - acc: 0.9133\n",
      "Epoch 328/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4523 - acc: 0.9133\n",
      "Epoch 329/500\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "150/150 [==============================] - 0s 86us/step - loss: 0.4517 - acc: 0.9133\n",
      "Epoch 330/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4512 - acc: 0.9067\n",
      "Epoch 331/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.4504 - acc: 0.9067\n",
      "Epoch 332/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.4498 - acc: 0.9067\n",
      "Epoch 333/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4492 - acc: 0.9133\n",
      "Epoch 334/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4486 - acc: 0.9133\n",
      "Epoch 335/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4480 - acc: 0.9133\n",
      "Epoch 336/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4475 - acc: 0.9133\n",
      "Epoch 337/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4468 - acc: 0.9133\n",
      "Epoch 338/500\n",
      "150/150 [==============================] - 0s 87us/step - loss: 0.4461 - acc: 0.9133\n",
      "Epoch 339/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4458 - acc: 0.9133\n",
      "Epoch 340/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4450 - acc: 0.9067\n",
      "Epoch 341/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.4444 - acc: 0.9067\n",
      "Epoch 342/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4438 - acc: 0.9133\n",
      "Epoch 343/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.4431 - acc: 0.9133\n",
      "Epoch 344/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4425 - acc: 0.9133\n",
      "Epoch 345/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4421 - acc: 0.9200\n",
      "Epoch 346/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4414 - acc: 0.9133\n",
      "Epoch 347/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4409 - acc: 0.9133\n",
      "Epoch 348/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.4403 - acc: 0.9200\n",
      "Epoch 349/500\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.4398 - acc: 0.9200\n",
      "Epoch 350/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4392 - acc: 0.9200\n",
      "Epoch 351/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.4386 - acc: 0.9200\n",
      "Epoch 352/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4380 - acc: 0.9200\n",
      "Epoch 353/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4373 - acc: 0.9200\n",
      "Epoch 354/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4367 - acc: 0.9200\n",
      "Epoch 355/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4365 - acc: 0.9133\n",
      "Epoch 356/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4356 - acc: 0.9133\n",
      "Epoch 357/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.4351 - acc: 0.9133\n",
      "Epoch 358/500\n",
      "150/150 [==============================] - 0s 87us/step - loss: 0.4344 - acc: 0.9133\n",
      "Epoch 359/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4339 - acc: 0.9133\n",
      "Epoch 360/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.4334 - acc: 0.9133\n",
      "Epoch 361/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4328 - acc: 0.9133\n",
      "Epoch 362/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4324 - acc: 0.9133\n",
      "Epoch 363/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4324 - acc: 0.9133\n",
      "Epoch 364/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4312 - acc: 0.9267\n",
      "Epoch 365/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4306 - acc: 0.9200\n",
      "Epoch 366/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4300 - acc: 0.9200\n",
      "Epoch 367/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.4295 - acc: 0.9200\n",
      "Epoch 368/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.4292 - acc: 0.9133\n",
      "Epoch 369/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4284 - acc: 0.9133\n",
      "Epoch 370/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4278 - acc: 0.9133\n",
      "Epoch 371/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4272 - acc: 0.9133\n",
      "Epoch 372/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4268 - acc: 0.9133\n",
      "Epoch 373/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4262 - acc: 0.9133\n",
      "Epoch 374/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.4256 - acc: 0.9133\n",
      "Epoch 375/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.4251 - acc: 0.9133\n",
      "Epoch 376/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.4247 - acc: 0.9200\n",
      "Epoch 377/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.4240 - acc: 0.9200\n",
      "Epoch 378/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.4234 - acc: 0.9133\n",
      "Epoch 379/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.4229 - acc: 0.9133\n",
      "Epoch 380/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4224 - acc: 0.9133\n",
      "Epoch 381/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4219 - acc: 0.9133\n",
      "Epoch 382/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4213 - acc: 0.9133\n",
      "Epoch 383/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.4208 - acc: 0.9133\n",
      "Epoch 384/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4204 - acc: 0.9133\n",
      "Epoch 385/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4198 - acc: 0.9133\n",
      "Epoch 386/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4193 - acc: 0.9133\n",
      "Epoch 387/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.4187 - acc: 0.9133\n",
      "Epoch 388/500\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.4183 - acc: 0.9133\n",
      "Epoch 389/500\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.4177 - acc: 0.9133\n",
      "Epoch 390/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4172 - acc: 0.9133\n",
      "Epoch 391/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4170 - acc: 0.9133\n",
      "Epoch 392/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4161 - acc: 0.9133\n",
      "Epoch 393/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4157 - acc: 0.9133\n",
      "Epoch 394/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4153 - acc: 0.9200\n",
      "Epoch 395/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4146 - acc: 0.9133\n",
      "Epoch 396/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4141 - acc: 0.9133\n",
      "Epoch 397/500\n",
      "150/150 [==============================] - 0s 87us/step - loss: 0.4138 - acc: 0.9133\n",
      "Epoch 398/500\n",
      "150/150 [==============================] - ETA: 0s - loss: 0.4272 - acc: 0.906 - 0s 86us/step - loss: 0.4131 - acc: 0.9133\n",
      "Epoch 399/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4125 - acc: 0.9133\n",
      "Epoch 400/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4123 - acc: 0.9133\n",
      "Epoch 401/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4119 - acc: 0.9133\n",
      "Epoch 402/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4111 - acc: 0.9133\n",
      "Epoch 403/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4107 - acc: 0.9133\n",
      "Epoch 404/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4103 - acc: 0.9133\n",
      "Epoch 405/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.4096 - acc: 0.9133\n",
      "Epoch 406/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.4091 - acc: 0.9133\n",
      "Epoch 407/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4087 - acc: 0.9133\n",
      "Epoch 408/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4081 - acc: 0.9133\n",
      "Epoch 409/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4077 - acc: 0.9133\n",
      "Epoch 410/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4071 - acc: 0.9133\n",
      "Epoch 411/500\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "150/150 [==============================] - 0s 93us/step - loss: 0.4066 - acc: 0.9133\n",
      "Epoch 412/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4062 - acc: 0.9133\n",
      "Epoch 413/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4057 - acc: 0.9267\n",
      "Epoch 414/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4052 - acc: 0.9267\n",
      "Epoch 415/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4047 - acc: 0.9267\n",
      "Epoch 416/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4042 - acc: 0.9267\n",
      "Epoch 417/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4039 - acc: 0.9267\n",
      "Epoch 418/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.4032 - acc: 0.9267\n",
      "Epoch 419/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4028 - acc: 0.9267\n",
      "Epoch 420/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4023 - acc: 0.9267\n",
      "Epoch 421/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4018 - acc: 0.9267\n",
      "Epoch 422/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4013 - acc: 0.9267\n",
      "Epoch 423/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.4008 - acc: 0.9267\n",
      "Epoch 424/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.4004 - acc: 0.9267\n",
      "Epoch 425/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.4001 - acc: 0.9267\n",
      "Epoch 426/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.3995 - acc: 0.9267\n",
      "Epoch 427/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.3991 - acc: 0.9333\n",
      "Epoch 428/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.3987 - acc: 0.9267\n",
      "Epoch 429/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.3982 - acc: 0.9200\n",
      "Epoch 430/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.3975 - acc: 0.9267\n",
      "Epoch 431/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.3971 - acc: 0.9333\n",
      "Epoch 432/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.3968 - acc: 0.9333\n",
      "Epoch 433/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.3964 - acc: 0.9333\n",
      "Epoch 434/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.3958 - acc: 0.9333\n",
      "Epoch 435/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.3952 - acc: 0.9267\n",
      "Epoch 436/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.3948 - acc: 0.9333\n",
      "Epoch 437/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.3944 - acc: 0.9333\n",
      "Epoch 438/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.3939 - acc: 0.9333\n",
      "Epoch 439/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.3935 - acc: 0.9267\n",
      "Epoch 440/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.3930 - acc: 0.9333\n",
      "Epoch 441/500\n",
      "150/150 [==============================] - ETA: 0s - loss: 0.4238 - acc: 0.875 - 0s 86us/step - loss: 0.3925 - acc: 0.9333\n",
      "Epoch 442/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.3922 - acc: 0.9333\n",
      "Epoch 443/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.3917 - acc: 0.9267\n",
      "Epoch 444/500\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.3912 - acc: 0.9333\n",
      "Epoch 445/500\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.3907 - acc: 0.9333\n",
      "Epoch 446/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.3902 - acc: 0.9333\n",
      "Epoch 447/500\n",
      "150/150 [==============================] - 0s 106us/step - loss: 0.3898 - acc: 0.9333\n",
      "Epoch 448/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.3894 - acc: 0.9333\n",
      "Epoch 449/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.3889 - acc: 0.9333\n",
      "Epoch 450/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.3884 - acc: 0.9333\n",
      "Epoch 451/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.3880 - acc: 0.9333\n",
      "Epoch 452/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.3878 - acc: 0.9267\n",
      "Epoch 453/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.3871 - acc: 0.9333\n",
      "Epoch 454/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.3868 - acc: 0.9333\n",
      "Epoch 455/500\n",
      "150/150 [==============================] - 0s 87us/step - loss: 0.3863 - acc: 0.9333\n",
      "Epoch 456/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.3859 - acc: 0.9333\n",
      "Epoch 457/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.3853 - acc: 0.9333\n",
      "Epoch 458/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.3849 - acc: 0.9333\n",
      "Epoch 459/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.3845 - acc: 0.9333\n",
      "Epoch 460/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.3840 - acc: 0.9333\n",
      "Epoch 461/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.3836 - acc: 0.9333\n",
      "Epoch 462/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.3832 - acc: 0.9400\n",
      "Epoch 463/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.3827 - acc: 0.9333\n",
      "Epoch 464/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.3823 - acc: 0.9333\n",
      "Epoch 465/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.3819 - acc: 0.9333\n",
      "Epoch 466/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.3815 - acc: 0.9333\n",
      "Epoch 467/500\n",
      "150/150 [==============================] - 0s 87us/step - loss: 0.3810 - acc: 0.9333\n",
      "Epoch 468/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.3807 - acc: 0.9333\n",
      "Epoch 469/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.3802 - acc: 0.9400\n",
      "Epoch 470/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.3799 - acc: 0.9333\n",
      "Epoch 471/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.3792 - acc: 0.9333\n",
      "Epoch 472/500\n",
      "150/150 [==============================] - 0s 73us/step - loss: 0.3789 - acc: 0.9400\n",
      "Epoch 473/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.3785 - acc: 0.9400\n",
      "Epoch 474/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.3783 - acc: 0.9400\n",
      "Epoch 475/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.3775 - acc: 0.9400\n",
      "Epoch 476/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.3771 - acc: 0.9400\n",
      "Epoch 477/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.3767 - acc: 0.9400\n",
      "Epoch 478/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.3763 - acc: 0.9400\n",
      "Epoch 479/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.3758 - acc: 0.9400\n",
      "Epoch 480/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.3754 - acc: 0.9400\n",
      "Epoch 481/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.3750 - acc: 0.9333\n",
      "Epoch 482/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.3746 - acc: 0.9333\n",
      "Epoch 483/500\n",
      "150/150 [==============================] - ETA: 0s - loss: 0.4051 - acc: 0.937 - 0s 93us/step - loss: 0.3744 - acc: 0.9333\n",
      "Epoch 484/500\n",
      "150/150 [==============================] - 0s 100us/step - loss: 0.3737 - acc: 0.9333\n",
      "Epoch 485/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.3733 - acc: 0.9333\n",
      "Epoch 486/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.3732 - acc: 0.9333\n",
      "Epoch 487/500\n",
      "150/150 [==============================] - 0s 93us/step - loss: 0.3725 - acc: 0.9400\n",
      "Epoch 488/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.3722 - acc: 0.9400\n",
      "Epoch 489/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.3717 - acc: 0.9467\n",
      "Epoch 490/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.3713 - acc: 0.9400\n",
      "Epoch 491/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.3709 - acc: 0.9400\n",
      "Epoch 492/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.3705 - acc: 0.9400\n",
      "Epoch 493/500\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "150/150 [==============================] - 0s 93us/step - loss: 0.3700 - acc: 0.9400\n",
      "Epoch 494/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.3697 - acc: 0.9400\n",
      "Epoch 495/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.3693 - acc: 0.9333\n",
      "Epoch 496/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.3692 - acc: 0.9400\n",
      "Epoch 497/500\n",
      "150/150 [==============================] - 0s 80us/step - loss: 0.3684 - acc: 0.9400\n",
      "Epoch 498/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.3679 - acc: 0.9400\n",
      "Epoch 499/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.3676 - acc: 0.9333\n",
      "Epoch 500/500\n",
      "150/150 [==============================] - 0s 86us/step - loss: 0.3672 - acc: 0.9333\n"
     ]
    }
   ],
   "source": [
    "history =  model.fit(x,y,epochs=500)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[<matplotlib.lines.Line2D at 0x2801c76d1d0>]"
      ]
     },
     "execution_count": 13,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXcAAAD8CAYAAACMwORRAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1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+3ADOuUbgdWAh3h3zpcCfmdlugsuo\nV5vZk3h3vD2cc/tC/60Bnie4zDJs4461cF8NTDGziWaWAiwCFke5pqG0GPhs6PFngd+FtS8ys1Qz\nmwhMAVZFob4zYsEp+n8DHzjnHgw75Nlxm1lhaMaOmaUDC4CteHTMzrlvOOdKnHPlBP+9/sk592k8\nOt6jzCzTzLKPPgauBTYxnOOO9i/Kp/EL9A0Ez6r4EPj7aNcTwXE9DRwAOgmut30RyAdeA3YArwKj\nw/r/feg72AZcH+36T3PMlxFcl9wIrA/9ucHL4wbOBd4LjXkT8M1Qu2fHHDaOKzl2toynx0vwjL4N\noT+bj2bVcI5bV6iKiHhQrC3LiIjIICjcRUQ8SOEuIuJBCncREQ9SuIuIeJDCXUTEgxTuIiIepHAX\nEfGg/w83Dpd+MalP6gAAAABJRU5ErkJggg==\n",
      "text/plain": [
       "<matplotlib.figure.Figure at 0x28015cdb7b8>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "plt.plot(range(500),history.history.get('acc'))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python [conda env:kr]",
   "language": "python",
   "name": "conda-env-kr-py"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.5"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
